package com.fx.device.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fx.device.vo.activit.ProUser;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;


import java.util.HashMap;
import java.util.List;

public interface ProUserRepository extends BaseMapper<ProUser> {


    ProUser selectByUsername(@Param("username") String username);


    // @Select("SELECT name,username from prouser")
    List<HashMap<String, Object>> selectUser();

    //
    //@Insert("insert into prouser(username,password,roles,name) values(#{username},#{password},#{roles},#{name})")

}
